package com.byedu.domain.focus;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by Luo on 2017-09-05.
 */
public class FocusLogDO {
    /*信息id*/
    private String id;
    /*员工userId*/
    private String userid;
    //操作指令
    private String operate;
    //操作信息
    private String info;
    /*操作时间*/
    private String optime;
    public FocusLogDO() {
    }
    public FocusLogDO(String id, String opera, String s) {
        this.userid =id;
        this.operate = opera ;
        this.info = s;
        SimpleDateFormat timeSDF = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        String creatTime = timeSDF.format(new Date());
        this.optime = creatTime;
    }

    public String getOptime() {
        return optime;
    }

    public void setOptime(String optime) {
        this.optime = optime;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public String getOperate() {
        return operate;
    }

    public void setOperate(String operate) {
        this.operate = operate;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }


    @Override
    public String toString() {
        return "FocusLogDO{" +
                "id='" + id + '\'' +
                ", userid='" + userid + '\'' +
                ", operate='" + operate + '\'' +
                ", info='" + info + '\'' +
                ", optime='" + optime + '\'' +
                '}';
    }
}
